home *** CD-ROM | disk | FTP | other *** search
/ TPUG - Toronto PET Users Group / TPUG Users Group CD / TPUG Users Group CD.iso / AMIGA / (A)Z / (A)Z12.ADF / NECCP6.dat < prev    next >
Text File  |  1987-04-09  |  13KB  |  333 lines

  1. Printer specific data for the Amiga printer driver.
  2. ===================================================
  3.  
  4. Printer: NEC P6/CP6/P7/CP7                        by J°rgen Thomsen 870107
  5.  
  6. Comment, Data type(byte,word,long,string), Data
  7.  
  8. Version                                  w:    1
  9. Revision                                 w:    0
  10. Printer Class (add values)
  11.    (0=alphanum,1=graphics,2=color)       b:    3
  12. Color Class (your "ribbon" colors)
  13.     Black, White, Yellow, Magenta, Cyan
  14.    (1(BWonly),2(YMC),3(BWorYMC),4(BYMC)) b:    4
  15. No of Pica size chars on Narrow Tractor  b:   80
  16. No of char sets                          b:    4
  17. No of seconds before timeout             l:   30
  18. Pica size (SHORP0, 0.01 Chars Per Inch)  w: 1000
  19. Elite size (SHORP2, 0.01 Chars Per Inch) w: 1200
  20. Fine size (SHORP4, 0.01 Chars Per Inch)  w: 2000
  21.  
  22. Specify paper parameters as you like. The
  23. following values are the standard ones
  24. US letter size
  25. Width (0.01 inch)                        w:  800
  26. Length  (0.01 inch)                      w: 1100
  27. Lines to skip at perforation at 6 LPI    w:    6
  28. RIN (2nd string, after delay etc.)       s:^[T^[U^0^[R^0
  29.  
  30. US legal size
  31. Width  (0.01 inch)                       w:  800
  32. Length  (0.01 inch)                      w: 1400
  33. Lines to skip at perforation at 6 LPI    w:    6
  34. RIN (2nd string, after delay)            s:^[T^[U^0^[R^0
  35.  
  36. Narrow tractor
  37. Width, narrow (0.01 inch)                w:  800
  38. Length, narrow (0.01 inch)               w:    0     (usually 0 = infinite)
  39. Lines to skip at perforation at 6 LPI    w:    6
  40. RIN (2nd string, after delay)            s:^[T^[U^0^[R^0
  41.  
  42. Wide tractor
  43. Width  (0.01 inch)                       w: 1360
  44. Length  (0.01 inch)                      w:    0     (usually 0 = infinite)
  45. Lines to skip at perforation at 6 LPI    w:    6
  46. RIN (2nd string, after delay)            s:^[T^[U^0^[R^0
  47.  
  48. Custom paper
  49. Width (0.01 inch)                        w:  800
  50. Length  (0.01 inch)                      w: 1100
  51. Lines to skip at perforation at 6 LPI    w:    6
  52. RIN (2nd string, after delay, see below) s:^[T^[U^0^[a^3
  53.  
  54. Partial line up/down length
  55. (0.01 printer units at 6 LPI)            w: 1500
  56.  
  57. Colors for SFC and SBC:
  58. No. 0 (30/40)                            b: 0        black
  59.  -- 1 (31/41)                            b: 1        magenta
  60.  -- 2   .                                b: 2        cyan
  61.  -- 3   .                                b: 3        violet
  62.  -- 4   .                                b: 4        yellow
  63.  -- 5   .                                b: 5        orange
  64.  -- 6   .                                b: 6        green
  65.  -- 7   .                                b: 7        brown
  66.  -- 8   .                                b: 0        black
  67.  -- 9 (39/49)                            b: 0        black
  68.  
  69. Conversion Table
  70. (^X = ctrl-X, etc.
  71.  ^[ = ESC,
  72.  ^\ = FS,
  73.  ^<octal digits> = byte value,
  74.  ^^ = ^,
  75.  ^px = insert parameter byte P[x] as a binary byte here
  76.  ^dx = insert parameter byte P[x] as three decimal characters here
  77.  ^wx = insert parameter bytes P[x], P[x+1] as 5 decimal characters here
  78.  
  79.  Write string immediately after colon on one line only.
  80.  An empty string after colon specifies no simple conversion possible.
  81.  The SPACE character is significant.)
  82.  
  83.       Amiga                                Your Printer
  84.  
  85. RIS    ^[c     reset                     s:^\@
  86. RIN    ^[#1    initialize
  87. (common to all paper sizes excpt. custom
  88.  [see RIN below] followed by
  89.  a delay of 2 seconds,
  90.  VERPx, SHORPx, DENx, PROPx, SLRM, SLPP, PERFx
  91.  RIN (2nd string) as defined above)
  92.                                          s:^[@
  93. IND    ^[D     line feed                 s:^12
  94. NEL    ^[E     return line feed          s:^15^12
  95. RI     ^[M     reverse line feed         s:^\R^12^\F
  96.  
  97. SGR0   ^[[0m   normal character set      s:^[5^[-^0^[F
  98. SGR3   ^[[3m   italics on                s:^[4
  99. SGR23  ^[[23m  italics off               s:^[5
  100. SGR4   ^[[4m   underline on              s:^[-^1
  101. SGR24  ^[[24m  underline off             s:^[-^0
  102. SGR1   ^[[1m   boldface on               s:^[E
  103. SGR22  ^[[22m  boldface off              s:^[F
  104. SFC    ^[[3nm  n=0-9 set foregr. color   s:^[r^p2
  105. SBC    ^[[4nm  n=0-9 set background col. s:
  106.  
  107. SHORP0 ^[[0w   normal pitch              s:^[P^22^[W^0
  108. SHORP2 ^[[2w   elite on                  s:^[M^22
  109. SHORP1 ^[[1w   elite off                 s:^[P
  110. SHORP4 ^[[4w   condensed fine on         s:^[M^17
  111. SHORP3 ^[[3w   condensed off             s:^22^[P
  112. SHORP6 ^[[6w   enlarged on               s:^[W^1
  113. SHORP5 ^[[5w   enlarged off              s:^[W^0
  114.  
  115. DEN6   ^[[6"z  shadow print on           s:^[E
  116. DEN5   ^[[5"z  shadow print off          s:^[F
  117. DEN4   ^[[4"z  doublestrike on           s:^[G
  118. DEN3   ^[[3"z  doublestrike off          s:^[H
  119. DEN2   ^[[2"z  near letter quality on    s:^[x^1^[R^0
  120. DEN1   ^[[1"z  near letter quality off   s:^[x^0^[R^0
  121.  
  122. SUS2   ^[[2v   superscript on            s:^[S^0
  123. SUS1   ^[[1v   superscript off           s:^[T
  124. SUS4   ^[[4v   subscript on              s:^[S^1
  125. SUS3   ^[[3v   subscript off             s:^[T
  126. SUS0   ^[[0v   normalize the line        s:^[T
  127. PLU    ^[L     partial line up           s:^[j^p0
  128. PLD    ^[K     partial line down         s:^[J^p0
  129.  
  130. FNT0   ^[(B    US char set               s:^[R^0
  131. FNT1   ^[(R    French char set           s:^[R^1
  132. FNT2   ^[(K    German char set           s:^[R^2
  133. FNT3   ^[(A    UK char set               s:^[R^3
  134. FNT4   ^[(E    Danish I                  s:^[R^4
  135. FNT5   ^[(H    Swedish                   s:^[R^5
  136. FNT6   ^[(Y    Italian                   s:^[R^6
  137. FNT7   ^[(Z    Spanish                   s:^[R^7
  138. FNT8   ^[(J    Japanese                  s:^[R^10
  139. FNT9   ^[(6    Norwegian                 s:^[R^11
  140. FNT10  ^[(C    Danish II                 s:^[R^12
  141.  
  142. PROP2  ^[[2p   proportional on           s:^[p^1
  143. PROP1  ^[[1p   proportional off          s:^[p^0
  144. PROP0  ^[[0p   proportional clear        s:
  145. TSS    ^[[n E  set proportional offset   s:^[ ^p0
  146. JFY5   ^[[5 F  auto left justify         s:^[x^1^[a^0
  147. JFY7   ^[[7 F  auto right justify        s:^[x^1^[a^2
  148. JFY6   ^[[6 F  auto full justify         s:^[x^1^[a^3
  149. JFY0   ^[[0 F  auto justify off          s:^[x^0
  150. JFY3   ^[[3 F  letter space, justify     s:
  151. JFY1   ^[[1 F  word fill, auto center    s:^[x^1^[a^1
  152.  
  153. VERP0  ^[[0z   1/8" line spacing         s:^[0
  154. VERP1  ^[[1z   1/6" line spacing         s:^[2
  155. SLPP   ^[[nt   set form length n         s:^[C^p0
  156. PERF   ^[[nq   perf skip n (n > 0)       s:^[N^p0
  157. PERF0  ^[[0q   perf skip off             s:^[O
  158.  
  159. LMS    ^[#9    left margin set           s:
  160. RMS    ^[#0    right margin set          s:
  161. TMS    ^[#8    top margin set            s:
  162. BMS    ^[#2    bottom margin set         s:
  163. STBM   ^[[Pn1;Pn2r top & bottom margins  s:
  164. SLRM   ^[[Pn1;Pn2s left & right margins  s:^[l^p2^[Q^p3
  165. CAM    ^[#3    clear margins             s:^[l^p2^[Q^p3
  166.  
  167. HTS    ^[H     set horiz tab             s:
  168. VTS    ^[J     set vertical tab          s:
  169. TBC0   ^[[0g   clear horiz tab           s:
  170. TBC3   ^[[3g   clear all horiz tab       s:^[D^0
  171. TBC1   ^[[1g   clear vertical tab        s:
  172. TBC4   ^[[4g   clear all vertical tabs   s:^[B^0
  173. TBCALL ^[#4    clear all hor & vert tabs s:^[D^0^[B^0
  174. TBSALL ^[#5    set default tabs          s:^[e0^3^[e1^5
  175. EXTEND ^[[Pn"x extended commands         s:
  176.  
  177. The following are sequences needed for the printer specific code
  178. (only to be used when the full featured driver is generated)
  179.  
  180. RIN (custom paper, 1st string,
  181.      before 2 sec. delay followed
  182.      by RIN (2nd string) above)  s:
  183.  1. available for EXTEND ^[[1"x  s:
  184.  2. available for EXTEND ^[[2"x  s:
  185.  3. available for EXTEND ^[[3"x  s:
  186.  4. available for EXTEND ^[[4"x  s:
  187.  5. available for EXTEND ^[[5"x  s:
  188.  6. available for EXTEND ^[[6"x  s:
  189.  7. available for EXTEND ^[[7"x  s:
  190.  8. available for EXTEND ^[[8"x  s:
  191.  9. available for EXTEND ^[[9"x  s:
  192. 10. available for EXTEND ^[[10"x s:
  193.  
  194.  
  195. Density 1 (default at Draft, 6 LPI) graphics
  196.  
  197. No of Raster Rows (pins) on each pass     w:    8
  198. Max dots in X direction                   l:  480
  199. Max dots in Y direction (0=infinite)      l:    0
  200. Dots pr inch in X direction               w:   60
  201. Dots pr inch in Y direction               w:   60
  202. Storage of dots in buffer
  203. 0: row by row (some laser/ink jet)
  204. 1: coloumn by column (dot matrix)         b:    1
  205.  
  206. Fill buffer bytes from
  207. 0: right to left, 1: left to right        b:    1
  208.  
  209. In 320 x 200 resolution the ratio pixel
  210. height/width = 1.2 on a monitor with the
  211. vertical height adjusted to let the monitor
  212. screen be totally filled by the picture.
  213. Some programs believe the ratio is 1
  214. (e.g DPaint) so if you primarily want
  215. to print proper squares
  216. and circles drawn by these programs
  217. specify here the divisor to divide into
  218. the real pixel height to give the
  219. pixel height used by these programs.
  220. Pixel height divisor * 100
  221.  (e.g. DPaint 120, monitor image 100)    w:  120
  222.  
  223. Sequence for printing colors
  224. Print black as no.                       b:   4
  225.  ---  yellow as no.                      b:   1
  226.  ---  magenta (redish) as no.            b:   2
  227.  ---  cyan (blueish) as no.              b:   3
  228.  
  229. Color black prefix               s:^15^[r^0^[*^0^p1^p0
  230. Color yellow prefix              s:^15^[r^4^[*^0^p1^p0
  231. Color magenta prefix             s:^15^[r^1^[*^0^p1^p0
  232. Color cyan prefix                s:^15^[r^2^[*^0^p1^p0
  233. Init graphics before delay       s:^\3^60^[U^1^[j^30^15^12
  234. Init graphics after delay        s:
  235. Each single buffer terminated by s:^15^12
  236. Finish graphics dump             s:
  237.  
  238. Density 2 (default at Draft, 8 LPI) graphics
  239.  
  240. No of Raster Rows (pins) on each pass     w:   24
  241. Max dots in X direction                   l:  720
  242. Max dots in Y direction (0=infinite)      l:    0
  243. Dots pr inch in X direction               w:   90
  244. Dots pr inch in Y direction               w:  180
  245. Storage of dots in buffer
  246. 0: row by row (some laser/ink jet)
  247. 1: coloumn by column (dot matrix)         b:    1
  248.  
  249. Fill buffer bytes from
  250. 0: right to left, 1: left to right        b:    1
  251.  
  252. Pixel height divisor * 100
  253.  (e.g. DPaint 120, monitor image 100)     w:  120
  254.  
  255. Sequence for printing colors
  256. Print black as no.                        b:   4
  257.  ---  yellow as no.                       b:   1
  258.  ---  magenta (redish) as no.             b:   2
  259.  ---  cyan (blueish) as no.               b:   3
  260.  
  261. Color black prefix               s:^15^[r^0^[*^46^p1^p0
  262. Color yellow prefix              s:^15^[r^4^[*^46^p1^p0
  263. Color magenta prefix             s:^15^[r^1^[*^46^p1^p0
  264. Color cyan prefix                s:^15^[r^2^[*^46^p1^p0
  265. Init graphics before delay       s:^\3^60^[U^1^[j^30^15^12
  266. Init graphics after delay        s:
  267. Each single buffer terminated by s:^15^12
  268. Finish graphics dump             s:
  269.  
  270. Density 3 (default at Letter, 6 LPI) graphics
  271.  
  272. No of Raster Rows (pins) on each pass    w:   24
  273. Max dots in X direction                  l: 1440
  274. Max dots in Y direction (0=infinite)     l:    0
  275. Dots pr inch in X direction              w:  180
  276. Dots pr inch in Y direction              w:  180
  277. Storage of dots in buffer
  278. 0: row by row (some laser/ink jet)
  279. 1: coloumn by column (dot matrix)        b:    1
  280.  
  281. Fill buffer bytes from
  282. 0: right to left, 1: left to right       b:    1
  283.  
  284. Pixel height divisor * 100
  285.  (e.g. DPaint 120, monitor image 100)    w:  120
  286.  
  287. Sequence for printing colors
  288. Print black as no.                       b:   4
  289.  ---  yellow as no.                      b:   1
  290.  ---  magenta (redish) as no.            b:   2
  291.  ---  cyan (blueish) as no.              b:   3
  292.  
  293. Color black prefix               s:^15^[r^0^[*^47^p1^p0
  294. Color yellow prefix              s:^15^[r^4^[*^47^p1^p0
  295. Color magenta prefix             s:^15^[r^1^[*^47^p1^p0
  296. Color cyan prefix                s:^15^[r^2^[*^47^p1^p0
  297. Init graphics before delay       s:^\3^60^[U^1^[j^30^15^12
  298. Init graphics after delay        s:
  299. Each single buffer terminated by s:^15^12
  300. Finish graphics dump             s:
  301.  
  302. Density 4 (default at Letter, 8 LPI) graphics
  303.  
  304. No of Raster Rows (pins) on each pass    w:   24
  305. Max dots in X direction                  l: 2880
  306. Max dots in Y direction (0=infinite)     l:    0
  307. Dots pr inch in X direction              w:  360
  308. Dots pr inch in Y direction              w:  180
  309. Storage of dots in buffer
  310. 0: row by row (some laser/ink jet)
  311. 1: coloumn by column (dot matrix)        b:    1
  312.  
  313. Fill buffer bytes from
  314. 0: right to left, 1: left to right       b:    1
  315.  
  316. Pixel height divisor * 100
  317.  (e.g. DPaint 120, monitor image 100)    w:  120
  318.  
  319. Sequence for printing colors
  320. Print black as no.                       b:   4
  321.  ---  yellow as no.                      b:   1
  322.  ---  magenta (redish) as no.            b:   2
  323.  ---  cyan (blueish) as no.              b:   3
  324.  
  325. Color black prefix               s:^15^[r^0^\Z^p1^p0
  326. Color yellow prefix              s:^15^[r^4^\Z^p1^p0
  327. Color magenta prefix             s:^15^[r^1^\Z^p1^p0
  328. Color cyan prefix                s:^15^[r^2^\Z^p1^p0
  329. Init graphics before delay       s:^\3^60^[U^1^[j^30^15^12
  330. Init graphics after delay        s:
  331. Each single buffer terminated by s:^15^12
  332. Finish graphics dump             s:
  333.